// 组织架构模块
import request from '@/utils/request'
/**
 *
 * @returns 日志分页查询
 */
export function pageList(page, pageSize, sysLog) {
  return request({
    url: '/log/pageList',
    method: 'post',
    params: {
      page,
      pageSize
    },
    data: sysLog
  })
}
/**
 * 获取部门Echarts图表数据
 * @returns
 */
export function deleteById(id) {
  return request({
    url: `/log/deleteById/${id}`,
    method: 'delete'
  })
}
